package org.catspaw.cherubim.persistence.dao;

import org.apache.commons.discovery.tools.DiscoverSingleton;

public class DiscoveryDaoBuilder implements DaoBuilder {

	public <T extends Dao> T buildDao(Class<T> interfaceClass)
			throws BuildDaoException {
		return DiscoverSingleton.find(interfaceClass);
	}
}
